package com.freewater.parking.domain.parking;

import com.freewater.parking.domain.common.PlateNumber;

import java.util.Optional;

public interface ParkingRepository {

    void save(Parking parking);

    Optional<Parking> findByPlateNumber(PlateNumber plateNumber);

    void delete(Parking parking);
}
